package com.chenxin.transaction;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@SpringBootApplication
@EnableDiscoveryClient
@EnableHystrix
@EnableAspectJAutoProxy
@EnableFeignClients(basePackages = {"com.chenxin.transaction.feign"})
@ComponentScan({"com.chenxin.transaction","org.dromara.hmily"})
public class TccZhangsanServer {

    public static void main(String[] args) {
        SpringApplication.run((TccZhangsanServer.class));
    }
}
